package org.xb.ObjectClone;

/**
 * @Author
 * @Description
 * @Date created in 14:54 2023/12/7
 */
class Person implements Cloneable {
    String name;
    Address address;

    public Person(String name, Address address) {
        this.name = name;
        this.address = address;
    }

    @Override
    public Person clone() throws CloneNotSupportedException {
        return (Person) super.clone();
    }
}

